import { LayoutComponent } from '../layout/layout.component';

export const routes = [
    {
        path: '',
        component: LayoutComponent,
        // canActivate: [AuthGuard],
        children: [
            { path: '', redirectTo: 'member/center', pathMatch: 'full' },
            { path: 'member/center', loadChildren: './member-center/member-center.module#MemberCenterModule' },
        ]
    },{
        path: 'pages', 
        loadChildren: './pages/pages.module#PagesModule' 
    },{
        path: '**',
        redirectTo: ''
    }
];


